Skip to content

Conversation

@HocusLocusTee
Copy link
Collaborator

@HocusLocusTee HocusLocusTee commented Oct 17, 2025

what?

initial 'block a contact' feature

adds:
ability to block from broadcasts or directs contact info pane
ability to see blocked addresses and a broadcast vis option in settings

stores the blocked address in db (also has the capacity for a 'reason') - note: my initial version included a reason field and allowed users to block an address straight from the settings, but I removed this as it was a little complicated handling the visibility states etc. So atm, we have no UI to add a reason and no way to block a contact unless its on their contact card.

blocking will delete any in db contact or messages. BUT in bcasts you will either still see a "Blocked Contact" message or no message (depending on your settings)

also adds kasia-general as a default initial channel. users can block now so this seems reasonable?

<div>
<div className="text-xs font-medium tracking-wide text-[var(--text-secondary)] uppercase">
Address
export const ContactInfoModal: FC<ContactInfoModalProps> = ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think on placing the block button here instead?

Image

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocking people doesn't seem too frequent, unless in broadcast and that has its own modal anyway.
What are you concerns?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My only concern would be people not finding the option (dropdown + modal + dropdown)

I see people still having trouble to discover you have the ability to rename your contacts. But I'm fine with proposed changes, what just gathering your thoughts

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have pushed changes with this. it does feel better. The modal warns people about whats going to happen, so I feel ok with the primary position.

Deleting wallet history deletes a blocked info too.

Also added import export ability.

@HocusLocusTee HocusLocusTee marked this pull request as draft October 27, 2025 21:05
- post rebase cleanup
- delete blocked-store for tenant ID
- add import export for blocked addresses
- bring settings modal into modal system
@HocusLocusTee HocusLocusTee marked this pull request as ready for review October 29, 2025 09:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants